<?php
require_once('includes/header.inc.php');
?>
<?php
require_once('classes/user.php');
require_once('classes/sessiontransaction.php');
$error = "";
$include = true;

$trans = SessionTransaction::getInstance();
$trans->setSessions(); //htmlspecialchars($_POST[], ENT_QUOTES); 

if(User::isLoggedIn()) {
	//redirect naar pay2.php
} else {
	require_once('login_include.php');
}
	


	
if($error!="") {
	echo "<p>".$error."</p>";
}
?>
<?php
require_once('includes/footer.inc.php');
?>